package com.ljy.my_study.lintcode.线段树;

/** 
* @author James
* @date 2018年4月12日 
*/
public class SegmentTreeNode {
	public int start, end, count;
	public SegmentTreeNode left, right;

	public SegmentTreeNode(int start, int end) {
		this(start,end,0);
	}
	
	public SegmentTreeNode(int start, int end, int count) {
		this.start = start;
		this.end = end;
		this.count = count;
		this.left = this.right = null;
	}

	@Override
	public String toString() {
		return "SegmentTreeNode [start=" + start + ", end=" + end + ", count=" + count + ", left=" + left + ", right="
				+ right + "]";
	}
}
